<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="/Public/css/pintuer.css">
<link rel="stylesheet" href="/Public/css/admin.css">
<script src="/Public/js/jquery.js"></script>
<script src="/Public/js/pintuer.js"></script>
</head>
<body>
<input type="hidden" class="input w50" value="<?php echo $_SESSION['power'];?>" name="power" id="power" />
<div class="panel admin-panel">
 <form method="post" class="form-x" action="/index.php/Home/Index/sousuo">
      <div class="form-group">
        <div class="label">
          <label>会员手机号：</label>
        </div>
        <div class="field">
          <input type="text" class="input" name="phone" value="" style="width:25%; float:left;" value="" data-toggle="hover" data-place="right" data-image=""  />
          <input type="submit" class="button bg-blue margin-left" value="搜索">
		  <a href="/index.php/Home/Index/getUserList" class="button bg-blue margin-left" target="right" style="float:right">打印会员信息</a>
        </div>
      </div>
      </div>
    </form>
  <div class="panel-head"><strong class="icon-reorder">会员列表</strong></div>
  <div class="padding border-bottom">
  </div>
  <table class="table table-hover text-center">
    <tr>
        <th width="10%" style="text-align:left; padding-left:20px;">会员电话</th>
        <th width="10%">会员id</th>
		<th width="10%">会员姓名</th>
        <th width="10%">会员消费积分</th>
        <th width="10%">会员返还积分</th>
        <th width="10%">会员可提现积分</th>
		<th width="10%">可返积分单元</th>
        <th width="310">操作</th>
      </tr>
      <?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
            <td style="text-align:left; padding-left:20px;">
                <?php echo ($vo["phone"]); ?>
            </td>
			<td><?php echo ($vo["user_id"]); ?>
            </td>
			<td><?php echo ($vo["name"]); ?>
            </td>
            <td><?php echo ($vo["pay_points"]); ?>
            </td>
            <td width="10%">
                <?php echo ($vo["return_points"]); ?>
            </td>
            <td><?php echo ($vo["use_points"]); ?></td>
			<td width="10%">
                <?php echo ($vo["isunit"]); ?>
            </td>
            <td>
              <div class="button-group" id = "important"> 
                 
                  <a class="button border-main" href="/index.php/Home/Index/uMore/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span>详情</a>
                  <a class="button border-main" href="/index.php/Home/Index/uSet/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span>修改</a>  
                  <a class="button border-red" href="/index.php/Home/Index/uDel/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span> 删除</a>
				<!-- <a class="button border-red" href="/index.php/Home/Index/repassword/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span>重置密码</a>	 -->			  
              </div>
             </td>
			 
          </tr><?php endforeach; endif; else: echo "" ;endif; ?>
         
      <tr>
        <td colspan="8"><div class="pagelist"> <?php echo ($page); ?> </div></td>
      </tr>
    
  </table>
</div>


</body>
</html>